<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/manage/common/taglibs.jsp"%>
<div align="center">
    <form id="manage_portallet_editform" action="${pageContext.request.contextPath}/manage/system/portallet/${action=='create'?'saveJson':'updateJson'}.html" method="post">
      <jodd:form bean="portallet" scope="request">
        <input name="id" type="hidden" />
        <table class="tableForm" width="100%">
			<tr>
				<th width="30%">标题：</th>
				<td>
				<input type="text" name="title" class="easyui-validatebox" data-options="required:true" validType="length[1,64]"/>
				</td>
			</tr>					
			<tr>
				<th width="30%">高度：</th>
				<td>
				<input type="text" name="height" class="easyui-numberbox" data-options="required:true,min:100"/>
				</td>
			</tr>					
			<tr>
				<th width="30%">可否收缩：</th>
				<td>
				<select name="collapsible" editable="false" panelHeight="auto" class="easyui-combobox" data-options="required:true">
					<c:forEach items="${allCollapsibles}" var="e">
						<option value="${e.key}">${e.value}</option>
					</c:forEach>
				</select>
				</td>
			</tr>					
			<tr>
				<th width="30%">连接地址或内容：</th>
				<td>
				Href：<input type="text" name="href" size="48" class="easyui-validatebox" data-options="required:false" validType="length[1,128]"/>或<br>
                                内容：<textarea name="content" rows="7" cols="48" class="easyui-validatebox"></textarea>
				</td>
			</tr>     				
        </table>
      </jodd:form>
    </form>
</div>
